Skip to content

kmods: leh800b: uploaded first version of MSPM0 ADC sensor#20

Merged
mikechoifb merged 2 commits into
facebookincubator:mainfrom
ezongCLS:leh800b-mspm0
May 29, 2026
Merged

kmods: leh800b: uploaded first version of MSPM0 ADC sensor#20
mikechoifb merged 2 commits into
facebookincubator:mainfrom
ezongCLS:leh800b-mspm0

Conversation

@ezongCLS

Copy link
Copy Markdown
Contributor

Description

Uploaded the temporary version of MSPM0 ADC voltage sensor driver.

Motivation

The temporary driver of the MSPM0 ADC voltage sensor. Each sensor contains 21 voltage sensing rails.
in4 is skipped because it does not exist in the MSPM0 design.
image(*from TI slides)
in12 is skipped because the pin is reserved for BSL invoking. Please refer to the datasheet for details.

Test Plan

  • Run on Anacapa 87.5 Retimer Blade (LEH800B):
[root@localhost drivers]# tree mspm0/16-0048/
mspm0/16-0048/
├── driver -> ../../../../../../../bus/i2c/drivers/mspm0
├── hwmon
│   └── hwmon4
│       ├── device -> ../../../16-0048
│       ├── in0_input
│       ├── in10_input
│       ├── in11_input
│       ├── in13_input
│       ├── in14_input
│       ├── in15_input
│       ├── in16_input
│       ├── in17_input
│       ├── in18_input
│       ├── in19_input
│       ├── in1_input
│       ├── in20_input
│       ├── in21_input
│       ├── in2_input
│       ├── in3_input
│       ├── in5_input
│       ├── in6_input
│       ├── in7_input
│       ├── in8_input
│       ├── in9_input
│       ├── name
│       ├── subsystem -> ../../../../../../../../../class/hwmon
│       └── uevent
├── modalias
├── name
├── subsystem -> ../../../../../../../bus/i2c
└── uevent
  • checkpatch.pl result:
[root@localhost kmods]# /usr/src/kernels/6.11.1/scripts/./checkpatch.pl -f --no-tree mspm0.c
total: 0 errors, 0 warnings, 182 lines checked

mspm0.c has no obvious style problems and is ready for submission.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label May 25, 2026
@mikechoifb mikechoifb merged commit cd7a13a into facebookincubator:main May 29, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants